<template>
	<view class="my-input" @click="gotoSearch">
		<view class="input">
			搜索
		</view>
	</view>
</template>

<script>
	export default {
		name:"myInput",
		data() {
			return {
				
			};
		},
		methods:{
			gotoSearch(){
				uni.navigateTo({
					url:"/pages/search/search"
				})
			}
		}
	}
</script>

<style lang="scss">
	.my-input{
		height: 90rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		background: #ff0000;
		.input{
			width: 80%;
			height: 50rpx;
			border-radius: 6rpx;
			background: #fff;
			padding-left:6rpx ;
			text-align: center;
		}
	}

</style>
